package com.esig.util;

import java.awt.*;

public class Constant {
    /*************** 游戏窗口相关 *****************/
    public static  final String GAME_TITLE = "小朋友齐打交-联机版";

    public static final int FRAME_WIDTH = 900;
    public static final int FRAME_HEIGHT = 700;

    //线程刷新时间
    public static final int REPAINT_INTERVAL = 25;


    /*************** 游戏菜单相关 *****************/
    public static final int STATE_MENU = 0; //默认是启动菜单
    public static final int STATE_ONE = 1; //单机
    public static final int ONLINE_MENU = 2; //联机页面
    public static final int STATE_ONLINE = 5; //创建联机
    public static final int JOIN_ONLINE = 6; //加入联机
    public static final int JOIN_ONLINE_SUCCESS = 7; //联机成功

    public static final int STATE_HELP = 3; //帮助
    public static final int STATE_OVER = 4; //退出

    public static final String[] MENUS = {
            "one game (单机模式)",
            "network game (联机模式)",
            "game help (游戏帮助)",
            "exit game (退出游戏)"
    };
    //字体颜色
    public static final Color GAME_COLOR = new Color(84, 108, 205);
    //背景色
    public static final Color GAME_BACKGROUND_COLOR = new Color(16, 32, 106);
    //字体样式
    public static final Font GAME_FONT = new Font("仿宋",Font.BOLD,24);
    //标题字体颜色
    public static final Color GAME_TITTLE_FONT_COLOR = new Color(255, 255, 255);
    //标题字体样式
    public static final Font GAME_TITTLE_FONT = new Font("Brush Script MT",Font.BOLD,54);
    //副标题字体样式
    public static final Font GAME_SECOND_TITTLE_FONT = new Font("宋体",Font.BOLD,14);
    //首页界面人物背景图
    public static final Image GAME_MENU_BACKGROUND = Toolkit.getDefaultToolkit().getImage("src/main/resources/img/background.png");
    //联机界面背景图1
    public static final Image ONLINE_MENU_BACKGROUND_ONE = Toolkit.getDefaultToolkit().getImage("src/main/resources/img/davis_f.png");
    //联机界面背景图1
    public static final Image ONLINE_MENU_BACKGROUND_TWO = Toolkit.getDefaultToolkit().getImage("src/main/resources/img/louisEX_f.png");
    //图片指针选择
    public static final Image GAME_SELECT = Toolkit.getDefaultToolkit().getImage("src/main/resources/img/logo.png");
    //图片指针初始纵坐标
    public static final int SELECT_Y = 165;
    //进入游戏的背景图
    public static final Image GAME_BACKGROUND = Toolkit.getDefaultToolkit().getImage("src/main/resources/img/bg.png");



}
